<%@ Page Language="C#" AutoEventWireup="true" CodeFile="report.aspx.cs" Inherits="Private_Config_Registry_report" %>
<%@ Register TagPrefix="Flux" Namespace="Deepcode.Flux.Core.UI.Controls" Assembly="Deepcode.Flux.Core" %>
<html>
<head runat="server">
	<link href="../../../Asset/Style/GeneralStyle.css" rel="stylesheet" type="text/css" />
</head>
<body class="nopad">
<form id="form1" runat="server">
<Flux:HostTable runat="server">

<Flux:Section runat="server" Title="Hive Location">
<Flux:ShadePadBox runat="server">
	<asp:Label runat="server" ID="txtCurrentPath" Font-Size="14pt" Font-Bold="true"/>
</Flux:ShadePadBox>
</Flux:Section>

<Flux:CollapseSection runat="server" Title="Data Nodes" Expanded="true">
<Flux:StandardDataGrid runat="server" ID="_data" ClickRowSelect="false" AllowPaging="false" DataKeyField="PK_ID">
	<Columns>
		<asp:BoundColumn DataField="KeyName" ReadOnly="True" HeaderText="Key"></asp:BoundColumn>
		<asp:BoundColumn DataField="ValueString" ReadOnly="True" HeaderText="Value"></asp:BoundColumn>
		<asp:TemplateColumn HeaderText="Options">
		<ItemTemplate>
			<asp:LinkButton Runat="server" ID="btnEditNode" CssClass="SafeLink" CommandName="Edit">Edit</asp:LinkButton>
			<asp:LinkButton Runat="server" ID="btnDeleteNode" CssClass="DangerLink" CommandName="Delete">Delete</asp:LinkButton>
		</ItemTemplate>
		</asp:TemplateColumn>
	</Columns>
</Flux:StandardDataGrid>
</Flux:CollapseSection>

<Flux:CollapseSection runat="server" Title="Path Nodes" Expanded="true">
<Flux:StandardDataGrid runat="server" ID="_paths" ClickRowSelect="false" AllowPaging="false" DataKeyField="PK_ID">
	<Columns>
		<asp:BoundColumn DataField="KeyName" ReadOnly="True" HeaderText="Path"></asp:BoundColumn>
		<asp:TemplateColumn HeaderText="Options">
		<ItemTemplate>
			<asp:LinkButton Runat="server" ID="btnEditPath" CssClass="SafeLink" CommandName="Edit">Edit</asp:LinkButton>
			<asp:LinkButton Runat="server" ID="btnDeletePath" CssClass="DangerLink" CommandName="Delete">Delete</asp:LinkButton>
			<asp:LinkButton Runat="server" ID="btnNavigate" CssClass="SafeLink" CommandName="Nav">Navigate</asp:LinkButton>
		</ItemTemplate>
		</asp:TemplateColumn>
	</Columns>
</Flux:StandardDataGrid>
</Flux:CollapseSection>

<Flux:Section runat="server">
<Flux:PadBox CssClass="Pad5Button" runat="server">
	<asp:Button Runat="server" CssClass="button" ID="btnAddNew" Text="Add new key"/>
	<asp:Button runat="server" CssClass="button" ID="btnAddNewPath" Text="Add new path"/>
</Flux:PadBox>
</Flux:Section>



</Flux:HostTable>
</form>
</body>
</html>
